package com.utils.exceptions;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 逻辑异常
 * @author geliyang
 *
 */
@SuppressWarnings("serial")
public class LogicException extends RuntimeException{
	
	private Logger logger = LoggerFactory.getLogger(this.getClass());
	
	public LogicException() {
		logger.error("<逻辑异常>");
	}
	
	public LogicException(String msg){
        super(msg);
        logger.error("<逻辑异常>:"+msg);
    }
}
